#ifndef SEND_FRAME_CLIENT
#define SEND_FRAME_CLIENT
#include"../Global.h"
#include"HSocket.h"
#include"../Domain/ClientMsg/MainMsg.pb.h"
#include"../Domain/ClientMsg/RemoteCtlMsg.pb.h"
#include"../DataCollect/DataCollect.h"
#include"../DataEncoding/DataEncoding.h"
class SendFrameClient:public HClientBase{
public:
    SendFrameClient(int flag);
    ~SendFrameClient();
public:
    /// \brief 开始发送
    /// \return
    int startClient() override;
    /// @brief    将编码好的二进制数据发送到控制端
    /// @return
    int send_a_frame_to_server(void* arg);

    int chageFrameRate(int frameRate);
    int chageBitRate(double bitRate);
    int chageResolutionRate(int w,int h);
public:
    DataCollect* datacollect;
    DataEncoding* dataEncoding;
};


#endif // !1
